home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / var / lib / dpkg / info / console-tools.postrm < prev    next >
Encoding:
Text File  |  2007-01-22  |  483 b   |  22 lines

  1. #! /bin/sh -e
  2.  
  3. # postrm - finish removal of the 'console-tools'-package
  4.  
  5.  
  6. # FIXME try getting this inserted by debhelper
  7. if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
  8.         . /usr/share/debconf/confmodule
  9.         db_purge
  10. fi
  11.  
  12. if [ "$1" = purge ]; then
  13.     rm -f /etc/console-tools/config
  14. fi
  15.         
  16. # Automatically added by dh_installinit
  17. if [ "$1" = "purge" ] ; then
  18.     update-rc.d console-screen.sh remove >/dev/null || exit $?
  19. fi
  20. # End automatically added section
  21.  
  22.